<?php
class Step extends AppModel {

	var $name = 'Step';
	var $primaryKey = 'step_index';
	var $displayField = 'step_action' ;

	//The Associations below have been created with all possible keys, those that are not needed can be removed
	var $belongsTo = array(
			'Procedure' => array('className' => 'Procedure',
								'foreignKey' => 'step_proc',
								'conditions' => '',
								'fields' => '',
								'order' => ''
			)
	);

	var $hasMany = array(
			'StepRequirement' => array('className' => 'StepRequirement',
								'foreignKey' => 'sra_step',
								'dependent' => false,
								'conditions' => '',
								'fields' => '',
								'order' => '',
								'limit' => '',
								'offset' => '',
								'exclusive' => '',
								'finderQuery' => '',
								'counterQuery' => ''
			)
	);

}
?>